﻿using System;
using System.Collections.Generic;

namespace SheepStorage.Domain.Entity
{
    /// <summary>
    /// 羊只死亡表
    /// </summary>
    public partial class SheepDeath
    {
        /// <summary>
        /// 主键Id 羊只死亡Id
        /// </summary>
        public int SheepDeathId { get; set; }
        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime SheepDeathDate { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int SheepSaleType { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? OverBit { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? ElEarTag { get; set; } 
        /// <summary>
        /// 死亡原因
        /// </summary>
        public int SheepDeathReason { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int SheepDeatchBreed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? SheepDeathSex { get; set; }
        /// <summary>
        /// 死亡栋舍
        /// </summary>
        public int BuildingManagementId { get; set; }
        /// <summary>
        /// 死亡栏位
        /// </summary>
        public int SheepFieldId { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int ReproductiveState { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? PurchaseSerialNumber { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? SheepBirthDate { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 描述
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 逻辑删 0未删 1已删
        /// </summary>
        public int? IsDel { get; set; } = 0;
    }
}
